//
//  AdItem.h
//  PaintWar
//
//  Created by Tai Le on 10/9/14.
//
//

#import <Foundation/Foundation.h>

@interface AdItem : NSObject

@property (nonatomic, strong) Class cls;
@property (nonatomic, assign) NSInteger numberOfAllowFails;//number of retry request, use for AdsMixTypeWeight
@property (nonatomic, assign) NSInteger period;//time to retry request, use for AdsMixTypePeriod

- (void)configureWithClass:(Class)cls numberOfAllowFails:(NSInteger)numberOfFails;
- (void)configureWithClass:(Class)cls period:(NSInteger)period;

@end
